|
SAP Convergent Charging
Java and XML APIs (Core) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface InstanceInfo
This Java interface represents the interface of the instance information; Consider the InstanceInfoImpl class.
See the InstanceInfoImpl class for more info about the XML description.
InstanceInfoImpl| Field Summary | |
|---|---|
static java.lang.String |
TAG_NAME
The XML tag name of this class: "instanceInfo" |
| Method Summary | |
|---|---|
InstanceInfo |
duplicate()
Copies this InstanceInfo into a new instance of InstanceInfo. |
ServiceInfo.Address |
getAddress(ServiceInfo.ServiceInfoType service)
Gets the address defined for the service. |
java.lang.String |
getFullHost(ServiceInfo.ServiceInfoType service)
Gets the host name defined for the service with the multi-homing information. |
java.lang.String |
getHost(ServiceInfo.ServiceInfoType service)
Gets the host name defined for the service. |
java.lang.String |
getHostname()
Gets the instance host name. |
java.lang.String |
getHTTPURL()
Deprecated. Use getURL(com.highdeal.admin.hci.ServiceInfo.ServiceInfoType) instead |
InstanceId |
getInstanceId()
Returns the value of the instance ID. |
java.lang.String |
getInstanceName(boolean full)
Returns the name (string representation of the InstanceId) or the full name ([<HTTP_HOST_NAME>]<INSTANCE_ID>) of the instance of the SAP CC system |
int |
getPort(ServiceInfo.ServiceInfoType service)
Gets the port defined for the service. |
ServiceInfo.ServiceInfoSecurity |
getSecurity(ServiceInfo.ServiceInfoType service)
Gets the security defined for the service. |
ServiceInfo |
getServiceInfo(ServiceInfo.ServiceInfoType serviceType)
Returns the service information value, containing host value and port number. |
java.lang.String |
getURL(ServiceInfo.ServiceInfoType serviceType)
Returns the URL for the service. |
boolean |
isHttpMultipleBinding()
Deprecated. Use isMultipleBinding(com.highdeal.admin.hci.ServiceInfo.ServiceInfoType) instead |
boolean |
isHTTPSecurityEnabled()
Deprecated. Use getSecurity(com.highdeal.admin.hci.ServiceInfo.ServiceInfoType) instead. |
boolean |
isMultipleBinding(ServiceInfo.ServiceInfoType serviceType)
Returns true if the service is bound to all available addresses. |
boolean |
isServiceAvailable(ServiceInfo.ServiceInfoType serviceType)
Returns true if the service is available. |
boolean |
isServiceEnabled(ServiceInfo.ServiceInfoType serviceType)
Returns true if the service is available and enabled. |
void |
isValid()
Throws an InvalidInstanceInfoException if the instance info is malformed or invalid. |
void |
setFullHost(ServiceInfo.ServiceInfoType service,
java.lang.String host)
Sets the host name defined for the service with the multi-homing information. |
void |
setHost(ServiceInfo.ServiceInfoType service,
java.lang.String host)
Sets the host name defined for the service. |
void |
setHTTPSecurityEnable(boolean flag)
Deprecated. Use setSecurity(com.highdeal.admin.hci.ServiceInfo.ServiceInfoType, com.highdeal.admin.hci.ServiceInfo.ServiceInfoSecurity) instead |
void |
setPort(ServiceInfo.ServiceInfoType service,
int port)
Sets the port defined for the service. |
void |
setSecurity(ServiceInfo.ServiceInfoType service,
ServiceInfo.ServiceInfoSecurity security)
Sets the security policy defined for the service. |
| Methods inherited from interface com.highdeal.hci.XMLMarshallable |
|---|
addCharacterData, addChild, marshal, setAttributes |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Field Detail |
|---|
static final java.lang.String TAG_NAME
| Method Detail |
|---|
ServiceInfo getServiceInfo(ServiceInfo.ServiceInfoType serviceType)
serviceType - The service type, which is one among service info list
InstanceId getInstanceId()
InstanceId instance ID) of the instance in the SAP CC systemjava.lang.String getHostname()
InstanceInfo duplicate()
ServiceInfo.Address getAddress(ServiceInfo.ServiceInfoType service)
service - value among service info list
java.lang.String getHost(ServiceInfo.ServiceInfoType service)
service - A value among service info list
java.lang.String getFullHost(ServiceInfo.ServiceInfoType service)
service - A value among service info list
int getPort(ServiceInfo.ServiceInfoType service)
service - A value among service info list
ServiceInfo.ServiceInfoSecurity getSecurity(ServiceInfo.ServiceInfoType service)
service - A value among service info list
security
void setFullHost(ServiceInfo.ServiceInfoType service,
java.lang.String host)
service - A value among service info listhost - The new service host name
void setHost(ServiceInfo.ServiceInfoType service,
java.lang.String host)
service - A value among service info listhost - The new service host name
void setPort(ServiceInfo.ServiceInfoType service,
int port)
service - A value among service info listport - The new service port
void setSecurity(ServiceInfo.ServiceInfoType service,
ServiceInfo.ServiceInfoSecurity security)
service - A value among service info listsecurity - The new security@Deprecated boolean isHTTPSecurityEnabled()
getSecurity(com.highdeal.admin.hci.ServiceInfo.ServiceInfoType) instead.
true if the HTTP service security is enabled.
true indicates that HTTP service is secured; this is the default@Deprecated void setHTTPSecurityEnable(boolean flag)
setSecurity(com.highdeal.admin.hci.ServiceInfo.ServiceInfoType, com.highdeal.admin.hci.ServiceInfo.ServiceInfoSecurity) instead
flag - true if the HTTP service security is enabled@Deprecated java.lang.String getHTTPURL()
getURL(com.highdeal.admin.hci.ServiceInfo.ServiceInfoType) instead
java.lang.String getURL(ServiceInfo.ServiceInfoType serviceType)
serviceType - A service value among service info list
boolean isServiceAvailable(ServiceInfo.ServiceInfoType serviceType)
true if the service is available.
serviceType - A service value among service info list
true if the service is available, false otherwiseboolean isServiceEnabled(ServiceInfo.ServiceInfoType serviceType)
true if the service is available and enabled.
serviceType - The service value among service info list
true if the service is enabled, false otherwiseboolean isMultipleBinding(ServiceInfo.ServiceInfoType serviceType)
true if the service is bound to all available addresses.
serviceType - A serviceType service value among service info list
true if the service is bound to all available addresses, false otherwisejava.lang.String getInstanceName(boolean full)
InstanceId) or the full name ([<HTTP_HOST_NAME>]<INSTANCE_ID>) of the instance of the SAP CC system
InstanceId
full - true to return the full name, false to return the string representation of the instance identifier
void isValid()
throws InvalidInstanceException
InvalidInstanceException - If the instance map is not valid@Deprecated boolean isHttpMultipleBinding()
isMultipleBinding(com.highdeal.admin.hci.ServiceInfo.ServiceInfoType) instead
true if the HTTP server is bound to all available addresses, false otherwise
|
Document Published: October 2015 (SAP CC 4.0 SP10 and Later) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||